package global;

public class Const {
    // 窗口类设置
    public static final String TITLE = "DZChat";           // 窗口名字
    public static final int WIDTH_ERROE = 16;              // 窗口宽度误差
    public static final int HEIGHT_ERROE = 39;             // 窗口高度误差
    public static final int FRAME_WIDTH = 556;             // 窗口宽度
    public static final int FRAME_HEIGHT = 999;            // 窗口高度
    public static final int PANEL_WIDTH = 540;             // 窗口实际宽度
    public static final int PANEL_HEIGHT =960;             // 窗口实际高度
    public static final int WINDOW_WIDTH = 400;            // 弹窗宽度
    public static final int WINDOW_HEIGHT = 200;           // 弹窗高度

    public static final String SERVER_IP = "47.96.83.233"; // 服务器IP
    public static final int SERVER_PORT = 12580;           // 服务器数据端口
    public static final int TIMEOUT = 3000;                // 超时时间(毫秒)
    public static final int CLIENT_PORT = 12581;           // 客户端数据端口
}
